
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
    </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h1 class="title_color">收货单查询</h1>
    </div>
    <!-- 标题 -->
    <div>
    <form action=""  class="form-inline">
      <table class="row-margin-top tab-content table-bordered table text-left" border="1">
          <tr>
            <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">收货单编号：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">方式：</label></td>
            <td>
              <select name="" id="" class="form-control">
                  <option value="0">全部</option>
                  <option value="1">手动出库</option>
                  <option value="2">使用申请</option>
                  <option value="3">调拨出库</option>
                  <option value="4">销售订单</option>
              </select>
            </td>
              <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">收货对象：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             </tr>
             <tr>
              <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">制单人：</label></td>
            <td><input type="text" class="form-control" name=""></td>
                <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">收货时间：</label></td>
            <td>
                 <div class="form-group">
               <input type="text" id="start" class="form-control layer-date " style="min-width: 120px;width: 120px;display: inline-block;">
              </div>
               <div class="form-group">
                  到
               </div>
              <div class="form-group">
                <input type="text" class="form-control layer-date" style="min-width: 120px;width: 120px;display: inline-block;" id="end">
               </div>
            </td>
             <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">签收人：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             </tr>
             <tr>
                 <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">类型：</label></td>
            <td>
              <select name="" id="" class="form-control">
                  <option value="0">全部</option>
                  <option value="1">销售物料</option>
                  <option value="2">生产物料</option>
                  <option value="3">成品</option>
              </select>
            </td>
               
            <td colspan="4"></td>
             </tr>
             <tr>
				<td colspan="6" class="text-center">
               <button class="btn btn-info query" type="button">查询</button>
              <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
            </td>
             </tr>
      </table>
      <table class="table row-margin-top table-bordered table-hover text-center bud_hei">
          <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">收货单编号</th>
            <th class="text-center">方式</th>
            <th class="text-center">收货对象</th>
            <th class="text-center">类型</th>
            <th class="text-center">金额(元)<span class="helpText">帮</span> </th>
            <th class="text-center">制单人</th>
            <th class="text-center">签收人</th>
            <th class="text-center">收货时间</th>
            <th class="text-center">操作</th>
          </tr>
          <tr>
            <td>1</td>
            <td><a href="{:url('Other/delivery_receipt_sure')}">201711080003</a></td>
            <td>销售订单</td>
            <td class="text-left gystext">南京市佳和贸易有限公司(CU00001)</td>
            <td>成品</td>
            <td class="text-right"><span class="ObjectNum">6120</span>00</td>
            <td>管理员</td>
            <td>梁景涛</td>
            <td>2015-10-30</td>
            <td><a href="{:url('Other/shipments_dan_detail')}">查看对应的发货单</a></td>
          </tr>
          <tfoot>
			
          </tfoot>
      </table>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
      <script src="__STATIC__/layout/js/common.js"></script>
    <script>
        //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);

           $(document).ready(function(){
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);
                 var $gysText=$(".gystext");
                 var num =8;
                 $gysText.each(function(){
                     wordlimit($(this),num)
                 })
         
          })
          function wordlimit(cname,num){
　          for(var i=0;i<cname.length;i++){
　　　　　　var nowLength=cname[i].innerHTML.length;
                if(nowLength>num){
                  return cname[i].innerHTML=cname[i].innerHTML.substr(0,num)+'...'
                  }
                }
              }
         　
    </script>
</body>

</html>
